package common

import "strconv"

type MoneyHelper struct {

}

func (money *MoneyHelper) Format(moneyNum int64) string {
	tempMoney := float64(moneyNum / 100)
	return strconv.FormatFloat(tempMoney, 'E', -1, 32) + " 元"
}